# coding=utf-8
__author__ = 'renyb'

from django.shortcuts import render
from django.http import HttpResponse
import datetime
import django
from cnryb.models.user import User
import os


# Create your views here.
# 加个注释
def index(request):
    # os.system("manage.py syncdb")
    #return HttpResponse(str( User.objects.count()) + 'Django Version = ' + str(django.VERSION), mimetype="text/plain")
    context = {}
    context["version"] = django.VERSION
    return render(request, 'index.html', context)
